package base;


import javax.swing.*;

public abstract class BaseWindow {

    protected abstract JFrame setRootView();
    protected abstract void initView(JFrame root);
    protected abstract void loadData();

    public void start() {
        JFrame root = setRootView();
        initView(root);
        loadData();
        root.setVisible(true);
    }

}
